package org.example.wumeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.example.wumeng.pojo.DoctorSpecialty;

import java.util.List;
import java.util.Map;

/**
 * 医家专长分类Mapper
 */
@Mapper
public interface T_doctorSpecialtyMapper extends BaseMapper<DoctorSpecialty> {

    /**
     * 获取专长分类统计（包含医家数量）
     */
    List<Map<String, Object>> getSpecialtyStatistics();
    List<Map<String, Object>> getDoctorsBySpecialty(String specialtyName);
}
